package com.timo.shopp.management.controller;

import com.timo.shopp.common.constants.ResultCode;
import com.timo.shopp.common.util.Result;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Author: Timo
 * @Date: 2019/3/23 15:00
 * @Description: 首页控制器
 */
@RestController
public class IndexController {

    @GetMapping("/index")
    public Result index(){
        return Result.success(ResultCode.RESULT_SUCCESS.getCode());
    }
}
